<template>
    <div id="VIPcard">
        <div id="userImageAndLogo">
            <div id="userImageAndInfo">
                <div id="userImage">
                    <img src="../../images/image/touxiang.jpg" id="userHeadImage">
                </div>
                <div id="userInfo">
                    <div id="cardType">普卡</div>
                    <div id="grade">当前等级</div>
                </div>
            </div>
            <div id="logo">
                <img src="../../images/image/logo.jpg">
            </div>
        </div>
        <div id="VIPType">
            普卡会员
        </div>
        <div id="EyeProtection">
            <p> 护眼萌新</p>
        </div>
        <div id="number">AJ003032030</div>
    </div>
</template>

<script>
    export default {
        name: "CardItem",
        components:{

        }
    }
</script>

<style scoped>
    #VIPcard{
        width: 100%;
        height: 200px;
        border-radius: 10px;
        position: relative;
        color: white;
        background-color: #DBAD77;
    }
    #userImageAndLogo{
        width: 100%;
        float: left;
    }
    #userImageAndLogo:after{
        content: "020";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }
    #userImageAndInfo{
        float: left;
        margin: 35px 0px 0px 35px;

    }
    #userImageAndInfo img{
        width: 50px;
        height: 50px;
        border: 1px solid white;
        border-radius: 50%;
    }
    #userImage{
        display: inline-block;
        border-radius: 50%;
        vertical-align: middle;
    }
    #userInfo{
        display: inline-block;
        /*margin-top: 100px;*/
    }
    #userHeadImage{
        float: left;
    }
    #cardType{
        display: inline-block;
        font-size: 1em;
        margin: 0px 10px;
    }
    #grade{
        display: inline-block;
        font-size: 0.5em;
        background-color: red;

    }
    #logo{
        float: left;
        margin-left: 120px;
        margin-top: 20px;
        border: 1px solid black;
    }
    #logo img{
        width: 40px;
        height: 40px;

    }
    #VIPType{
        width: 100%;
        float: left;
        font-size: 2em;
        font-width: bold;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
    }

    #EyeProtection{
        width: 100%;
        float: left;
        margin-top: 10px;
        font-size: 0.8em;

    }
    #EyeProtection p{
        margin: 40px auto 0px auto;
        text-align: center;
        width: 100px;
        background-color: darkgoldenrod;
        border-radius: 40px;
    }
    #number{
        float: left;
        margin: 5px 0px 0px 35px;
        font-size: 1em;
    }
</style>
